/*
 * IDSunicos.h
 *
 *  Created on: 12/11/2013
 *      Author: Miguel
 */

#ifndef IDSUNICOS_H_
#define IDSUNICOS_H_

#include <iostream>
#include <fstream>

#include "../../persistence/Types.h"
#include "../../utils/Utils.h"

class IDSunicos {
public:
	IDSunicos();
	virtual ~IDSunicos();

	int user() {
		int id = idUser;
		idUser++;
		return id;
	}
	int service() {
		int id = idService;
		idService++;
		return id;
	}
	int consultation() {
		int id = idConsultation;
		idConsultation++;
		return id;
	}
	int category() {
		int id = idCategory;
		idCategory++;
		return id;
	}

private:
	String path;

	int idUser;
	int idService;
	int idConsultation;
	int idCategory;
};

#endif /* IDSUNICOS_H_ */
